package com.yesun.task.pipeline.mapper;

import com.yesun.task.pipeline.domain.po.DetailPO;
import com.yesun.task.pipeline.domain.po.NewsPO;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


@Repository
public interface ClickhouseMapper {
    List<Map<String, Object>> query(String sql);

    void batchInsert(List<DetailPO> list);

    void batchInsertNews(List<NewsPO> list);

}
